package com.wntms.wy.service;

import com.wntms.wy.pojo.CustomerAccept;

import java.util.List;

public interface CustomerService {
    //先来个判断有没该货运单
    Boolean isHasFreightContract(String fid);
    //先来个判断是否有货款代收
    Boolean isHasPayment(String fid);
    //在俩个判断代收货款是否已支付
    Boolean isPayment(String fid);
    //无代收货款，或者有代收货款已支付，可以经行客户验收新增
    Boolean addCustomerAccept(CustomerAccept customerAccept);
    Boolean deleteCustomerAccept(Integer id);
    Boolean updateCustomerAccept(CustomerAccept customerAccept);
    List<CustomerAccept> findAllCustomerAccept(Integer currentPage,Integer pageSize);
}
